package service;

import pojo.NewsUser;

public interface NewsUserService {
    /**
     * 根据用户名获得查询用户
     * @param username
     * @return
     */
    NewsUser findByUsername(String username);

    NewsUser findByUid(Integer userId);

    Integer registUser(NewsUser registUser);
}
